{template 'common/header'}
{template 'common/slide'}
<style>
	body{
	font:{$_W['styles']['fontsize']} {$_W['styles']['fontfamily']};
	color:{$_W['styles']['fontcolor']};
	padding:0;
	margin:0;
	background-image:url('{if !empty($_W['styles']['indexbgimg'])}{$_W['styles']['indexbgimg']}{/if}');
	background-size:cover;
	background-color:{if empty($_W['styles']['indexbgcolor'])}#FFFFFF{else}{$_W['styles']['indexbgcolor']}{/if};
	{$_W['styles']['indexbgextra']}
	}
	a{color:{$_W['styles']['linkcolor']}; text-decoration:none;}
	{$_W['styles']['css']}
	.box,.box1{padding:0 2% 0 0; overflow:hidden;margin-top:10px; position:relative}
	.box .box-item,.box1 .box-item{display:block;text-align:center;text-decoration:none;outline:none;margin:0 0 2% 2%;width:48%;height:100px; line-height:100px; background:#d47314; color:#FFF;float:left;position:relative;}
	.box-item i{display:block; color:#ffffff; width:100%; height:70px; line-height:70px; text-align:center; vertical-align:middle; }
	.box .box-item span,.box1 .box-item span{color:{$_W['styles']['fontnavcolor']}; display:block; position:absolute; bottom:0px; width:100%; padding:0 5%; height:30px; line-height:30px; background:rgba(165,165,165,0.6);font-weight:bold;font-size:16px; text-align:left; overflow:hidden;}
	.box .box-item.item1{height:206px;}
	.box .box-item.item2{position:absolute; top:106px; width:47%;}
	.box1 .box-item.item0{height:206px;}
	.box .box-item.item1 i,.box1 .box-item.item0 i{display:block; height:176px; width:100%; line-height:176px;}
</style>
<div class="box clearfix">
	{php $num = 0;}
	{data func="site_navs" section="1" item="nav"}
	{php if($num == 0) $bg = '#E76469';}
	{php if($num == 1) $bg = '#3F755D';}
	{php if($num == 2) $bg = '#61C77D';}
	<a href="{$nav['url']}" class="box-item {if $num == 1}item1{else if $num == 2}item2{else}icon{/if}" style="background:{$bg};">
		{if !empty($nav['icon'])}
		<i style="background:url({$_W['attachurl']}{$nav['icon']}) no-repeat;background-size:cover; border-top-left-radius:5px; border-top-right-radius:5px;" class=""></i>
		{else}
		<i class="fa {$nav['css']['icon']['icon']}" style="{$nav['css']['icon']['style']}"></i>
		{/if}
		<span style="{$nav['css']['name']}" title="{$nav['name']}">{$nav['name']}</span>
	</a>
	{php $num++; if($num > 2) break}
	{/data}
</div>
<div class="box1 clearfix">
	{php $num = 0;}
	{data func="site_navs" section="2" item="nav"}
	{php if($num == 0) $bg = '#D5DEA9';}
	{php if($num == 1) $bg = '#90C5BB';}
	{php if($num == 2) $bg = '#E2E6CF';}
	<a href="{$nav['url']}" class="box-item {if $num == 0}item0{else}icon{/if}" style="background:{$bg};">
		{if !empty($nav['icon'])}
		<i style="background:url({$_W['attachurl']}{$nav['icon']}) no-repeat;background-size:cover; border-top-left-radius:5px; border-top-right-radius:5px;" class=""></i>
		{else}
		<i class="fa {$nav['css']['icon']['icon']}" style="{$nav['css']['icon']['style']}"></i>
		{/if}
		<span style="{$nav['css']['name']}" title="{$nav['name']}">{$nav['name']}</span>
	</a>
	{php $num++; if($num > 2) break}
	{/data}
</div>
{template 'footer'}